]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
workspace: Show window chrome on long-press
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 19 Jul 2017 00:31:04 +0000 (02:31 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 10 Aug 2017 18:16:06 +0000 (20:16 +0200)
Pointer hover and keyboard focus aren't available on touch devices,
so add long-press as alternative to reveal preview title and close
button.

https://bugzilla.gnome.org/show_bug.cgi?id=783953

js/ui/workspace.js

index 4607f39818962c9763f46e5e7d0f925ef4975cfe..eb24e253870a27dd6488543004584ad6f5fcfb2b 100644 (file)
@@ -380,6 +380,8 @@ var WindowClone = new Lang.Class({
                     action.release();
                     this._draggable.startDrag(x, y, global.get_current_time(), this._dragTouchSequence);
                 }));
+        } else {
+            this.emit('show-chrome');
         }
         return true;
     },